"use strict"

// had enabled by egg
// exports.static = true;
exports.validate = {
	enable: true,
	package: "egg-validate"
}
exports.sequelize = {
	enable: true,
	package: "egg-sequelize"
}

exports.redis = {
	enable: true,
	package: "egg-redis"
}


exports.security = {
	xframe: {
		enable: false
	},
	csrf: {
		enable: false,
		ignoreJSON: true,
		cookieDomain: "true",
	},
	enable: false,
	domainWhiteList: ["http://localhost:8080", "admin-10.shxqjz.com"],
}

// 白名单
exports.cors = {
	enable: true,
	package: "egg-cors"
}
/* exports.watcher={
	package:"egg-watcher",
	enable:false
} */
//部署时候记得删掉